package com.yourcurtain.client.mvp.place;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class VideoPlace extends Place {

	String tab;

	public VideoPlace(String token) {
		this.tab = token;
	}

	public String getHelloName() {
		return tab;
	}

	public static class Tokenizer implements PlaceTokenizer<VideoPlace> {
		@Override
		public String getToken(VideoPlace place) {
			return place.getHelloName();
		}

		@Override
		public VideoPlace getPlace(String token) {
			return new VideoPlace(token);
		}
	}
}
